//
//  JZHActivities.h
//  极致荟
//
//  Created by hetao on 14-7-21.
//  Copyright (c) 2014年 mac. All rights reserved.
//
/*
 活动实体类
 */
#import <Foundation/Foundation.h>
#import "OtherUsers.h"
#import "JZHReview.h"
typedef enum {
    ActTyepPJ=1,//品鉴
    ActTyepGEF=2,//高尔夫
    ActTyepSY=3,//盛宴
    ActTyepHY=4,//会议
    ActTyepLY=5,//旅游
    ActTyepDY=6,//电影
    ActTyepKC=7//课程
}ActType;

typedef enum{
    ActBMInvitation=0,//邀请好友
    ActBMOpen=1//公开报名
} ActBMType
;
typedef enum {
    ModeMy=1,//你请客
    ModeYou=0//我买单
    
}ConsumptionMode;
@interface JZHActivities : NSObject

@property (nonatomic,assign) int scId;//这个是收藏id,如果被收藏
@property (nonatomic,assign) int actId;//活动ID
@property (nonatomic,assign) int max;//参加活动最大人数
@property (nonatomic,assign) int join;//以参加人数
@property (nonatomic,assign) ActBMType actBmType;//报名类型
@property (nonatomic,strong) OtherUsers *mainuser;//发起人
@property (nonatomic,strong) NSArray *userarr;//参加人员
@property (nonatomic,strong) NSArray *actimages;//活动图片
@property (nonatomic,strong) NSDate *actdate;//活动开始时间
@property (nonatomic,strong) NSString *addes;//活动地点
@property (nonatomic,strong) NSString *content;//活动介绍
@property (nonatomic,strong) NSString *acttile;//活动标题
@property (nonatomic,assign) ActType  actType;//活动类型
@property (nonatomic,assign) ConsumptionMode consumptionMode;//付费方式
@property (nonatomic,strong) NSString *actimage;//首页图片
@property (nonatomic,strong) NSString *cityname;//城市名称
@property (nonatomic,assign)BOOL isjoin;//是否报名
@property (nonatomic,strong)NSMutableArray *actcom;//评论数据
///返回活动类型中文名称
- (NSString *)actTypeStr;

///返回付费方式中文名称
- (NSString *)comsumptionMode;
@end
